package com.cn.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cn.api.ApiResult;
import com.cn.mapper.ShopUserMapper;
import com.cn.pojo.shop.ShopUser;
import com.cn.service.ShopUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 28631
* @description 针对表【shop_user(用户注册)】的数据库操作Service实现
* @createDate 2024-02-29 15:12:20
*/
@Service
public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser>
    implements ShopUserService {

    @Autowired
    private ShopUserMapper shopUserMapper;

    @Override
    public ApiResult selectUser() {
       List<ShopUser> selectUser = shopUserMapper.selectUser();
       return ApiResult.success(selectUser);
    }
}




